package com.shop.pojo;

public class Classify {
    private int fid;
    private String fname;
    private int fatherId;

    public Classify(){}

    public Classify(int fid, String fname, int fatherId) {
        this.fid = fid;
        this.fname = fname;
        this.fatherId = fatherId;
    }

    public int getFid() {
        return fid;
    }

    public void setFid(int fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public int getFatherId() {
        return fatherId;
    }

    public void setFatherId(int fatherId) {
        this.fatherId = fatherId;
    }

    @Override
    public String toString() {
        return "Classify{" +
                "fid=" + fid +
                ", fname='" + fname + '\'' +
                ", fatherId=" + fatherId +
                '}';
    }
}
